package project.Service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import project.Mapper.AppointmentMapper;
import project.Pojo.Appointment;
import project.Service.AppointmentService;

@Service
public class AppointmentServiceImpl implements AppointmentService {

    @Autowired
    AppointmentMapper appointmentMapper;

    @Override
    public boolean insertAppointment(Appointment appointment) {
        return appointmentMapper.insertAppointment(appointment);
    }
}
